package com.daJiao.constants;

/**
 * <p>Title:      RedisKeyPrefix. </p>
 * <p>Description 处理缓存相关的前缀的常量类 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:     医百科技有限公司</p>
 *
 * @author <a href="xinglinglove1029@163.com"/>杨文生</a>
 * @since 2019/9/2 13:21
 */
public interface RedisKeyPrefix {

    // 过期时间, 60s, 一分钟
    long EXPIRE_TIME_MINUTE = 60L;

    long USER_EXPIRE_TIME_MINUTE = 36000L;

    String LOGIN_PREFIX = "loginValidateCode:";

    String SMS_PREFIX = "validateCode:";

    String DAILYUUID = "DailyUUID:";

    String GLOBALUUID = "GlobalUUID:";

    String ONLINEUSER = "peace:online:";


}
